package com.example.child_protection.dto.request;

import com.example.child_protection.dto.base.BaseRequestDTO;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 单个ID请求DTO
 * @date 2018-11-2
 * @author Biz
 */
@Getter
@Setter
public class SimpleIdRequestDTO extends BaseRequestDTO{

    /**
     * 自增id
     */
    @ApiParam(required = true)
    @NotNull
    public Long id;

    public void valid(){

    }
    public boolean isValidGid() {

        return false;
    }

}
